<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use DateTimeInterface;

class DrawImg extends Model
{
    /**
     * 与模型关联的表
     *
     * @var string
     */
    protected $table = 'draw_img';

    protected function serializeDate(DateTimeInterface $date)
    {
        return $date->format('Y-m-d H:i:s');
    }
}
